home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1991-03-28 | 3.8 KB | [TEXT/????] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: telnet.h
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Thu Mar 28 09:12:10 1991, modified Thu Mar 28 09:12:10 1991, creator '????', type ASCII, 3234 bytes "telnet.h" , at 0xd22 382 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [????] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 08 74 65 6c 6e 65 74 | 2e 68 00 00 00 00 00 00 |..telnet|.h......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 3f 3f 3f | 3f 00 00 00 00 00 00 00 |.TEXT???|?.......|
|00000050| 00 00 00 00 00 0c a2 00 | 00 01 7e a4 17 aa 3a a4 |........|..~...:.|
|00000060| 17 aa 3a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..:.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 23 de 00 00 |........|....#...|
|00000080| 2f 2a 20 20 43 6f 70 79 | 72 69 67 68 74 20 31 39 |/* Copy|right 19|
|00000090| 38 34 20 62 79 20 74 68 | 65 20 4d 61 73 73 61 63 |84 by th|e Massac|
|000000a0| 68 75 73 65 74 74 73 20 | 49 6e 73 74 69 74 75 74 |husetts |Institut|
|000000b0| 65 20 6f 66 20 54 65 63 | 68 6e 6f 6c 6f 67 79 20 |e of Tec|hnology |
|000000c0| 20 2a 2f 0d 2f 2a 0d 09 | 43 6f 70 79 72 69 67 68 | */./*..|Copyrigh|
|000000d0| 74 20 43 6f 72 6e 65 6c | 6c 20 55 6e 69 76 65 72 |t Cornel|l Univer|
|000000e0| 73 69 74 79 20 31 39 38 | 36 2e 20 20 41 6c 6c 20 |sity 198|6. All |
|000000f0| 72 69 67 68 74 73 20 61 | 72 65 20 72 65 73 65 72 |rights a|re reser|
|00000100| 76 65 64 2e 0d 0d 09 53 | 65 65 20 6e 6f 74 69 63 |ved....S|ee notic|
|00000110| 65 2e 68 0d 2a 2f 0d 0d | 2f 2a 20 44 65 66 69 6e |e.h.*/..|/* Defin|
|00000120| 69 74 69 6f 6e 73 20 66 | 6f 72 20 74 65 6c 6e 65 |itions f|or telne|
|00000130| 74 20 2a 2f 0d 0d 73 74 | 72 75 63 74 20 75 63 62 |t */..st|ruct ucb|
|00000140| 20 7b 0d 09 69 6e 74 09 | 75 5f 73 74 61 74 65 3b | {..int.|u_state;|
|00000150| 09 2f 2a 20 45 53 54 41 | 42 20 6f 72 20 43 4c 4f |./* ESTA|B or CLO|
|00000160| 53 49 4e 47 20 2a 2f 0d | 09 69 6e 74 09 75 5f 74 |SING */.|.int.u_t|
|00000170| 63 70 66 75 6c 6c 3b 09 | 2f 2a 20 69 73 20 74 63 |cpfull;.|/* is tc|
|00000180| 70 27 73 20 6f 75 74 70 | 75 74 20 62 75 66 66 65 |p's outp|ut buffe|
|00000190| 72 20 66 75 6c 6c 3f 20 | 2a 2f 0d 09 69 6e 74 09 |r full? |*/..int.|
|000001a0| 75 5f 74 66 74 70 3b 09 | 09 2f 2a 20 74 66 74 70 |u_tftp;.|./* tftp|
|000001b0| 20 61 63 63 65 70 74 61 | 6e 63 65 20 2a 2f 0d 09 | accepta|nce */..|
|000001c0| 69 6e 74 09 75 5f 72 73 | 74 61 74 65 3b 09 2f 2a |int.u_rs|tate;./*|
|000001d0| 20 52 65 61 64 20 74 65 | 72 6d 69 6e 61 6c 20 73 | Read te|rminal s|
|000001e0| 74 61 74 65 20 2a 2f 0d | 09 09 09 09 2f 2a 20 4e |tate */.|..../* N|
|000001f0| 4f 52 4d 41 4c 4d 4f 44 | 45 20 2a 2f 0d 09 09 09 |ORMALMOD|E */....|
|00000200| 09 2f 2a 20 42 4c 4f 43 | 4b 20 2d 20 64 6f 6e 27 |./* BLOC|K - don'|
|00000210| 74 20 72 65 61 64 20 74 | 65 72 6d 69 6e 61 6c 20 |t read t|erminal |
|00000220| 2a 2f 0d 09 69 6e 74 09 | 75 5f 72 73 70 65 63 69 |*/..int.|u_rspeci|
|00000230| 61 6c 3b 09 2f 2a 20 52 | 65 61 64 20 74 65 72 6d |al;./* R|ead term|
|00000240| 69 6e 61 6c 20 63 68 61 | 72 61 63 74 65 72 20 68 |inal cha|racter h|
|00000250| 61 6e 64 6c 69 6e 67 20 | 2a 2f 0d 09 09 09 09 2f |andling |*/...../|
|00000260| 2a 20 4e 4f 52 4d 41 4c | 4d 4f 44 45 20 2a 2f 0d |* NORMAL|MODE */.|
|00000270| 09 09 09 09 2f 2a 20 53 | 50 45 43 49 41 4c 20 2d |..../* S|PECIAL -|
|00000280| 20 70 72 6f 63 65 73 73 | 69 6e 67 20 63 68 61 72 | process|ing char|
|00000290| 20 61 66 74 65 72 20 70 | 72 6f 6d 70 74 20 2a 2f | after p|rompt */|
|000002a0| 0d 09 09 09 09 2f 2a 20 | 43 4f 4e 46 49 52 4d 20 |...../* |CONFIRM |
|000002b0| 2d 20 71 75 69 74 20 63 | 6f 6e 66 69 72 6d 61 74 |- quit c|onfirmat|
|000002c0| 69 6f 6e 20 2a 2f 0d 09 | 09 09 09 2f 2a 20 54 43 |ion */..|.../* TC|
|000002d0| 50 46 55 4c 4c 20 2d 20 | 74 63 70 20 6f 75 74 70 |PFULL - |tcp outp|
|000002e0| 75 74 20 62 75 66 66 65 | 72 20 66 75 6c 6c 20 2a |ut buffe|r full *|
|000002f0| 2f 0d 09 69 6e 74 09 75 | 5f 77 73 74 61 74 65 3b |/..int.u|_wstate;|
|00000300| 09 2f 2a 20 57 72 69 74 | 65 20 74 65 72 6d 69 6e |./* Writ|e termin|
|00000310| 61 6c 20 73 74 61 74 65 | 20 2a 2f 0d 09 09 09 09 |al state| */.....|
|00000320| 2f 2a 20 4e 4f 52 4d 41 | 4c 4d 4f 44 45 20 2a 2f |/* NORMA|LMODE */|
|00000330| 0d 09 09 09 09 2f 2a 20 | 55 52 47 45 4e 54 4d 20 |...../* |URGENTM |
|00000340| 2d 20 75 72 67 65 6e 74 | 20 6d 6f 64 65 0d 09 09 |- urgent| mode...|
|00000350| 09 09 20 20 20 69 67 6e | 6f 72 65 20 6e 6f 6e 73 |.. ign|ore nons|
|00000360| 70 65 63 69 61 6c 20 63 | 68 61 72 73 20 2a 2f 0d |pecial c|hars */.|
|00000370| 09 69 6e 74 09 75 5f 77 | 73 70 65 63 69 61 6c 3b |.int.u_w|special;|
|00000380| 09 2f 2a 20 57 72 69 74 | 65 20 74 65 72 6d 69 6e |./* Writ|e termin|
|00000390| 61 6c 20 63 68 61 72 61 | 63 74 65 72 20 68 61 6e |al chara|cter han|
|000003a0| 64 6c 69 6e 67 20 2a 2f | 0d 09 09 09 09 2f 2a 20 |dling */|...../* |
|000003b0| 4e 4f 52 4d 41 4c 4d 4f | 44 45 20 2a 2f 0d 09 09 |NORMALMO|DE */...|
|000003c0| 09 09 2f 2a 20 27 5c 72 | 27 20 28 31 33 29 2c 20 |../* '\r|' (13), |
|000003d0| 49 41 43 2c 20 57 49 4c | 4c 2c 20 57 4f 4e 54 2c |IAC, WIL|L, WONT,|
|000003e0| 20 44 4f 2c 20 44 4f 4e | 54 20 2d 0d 09 09 09 09 | DO, DON|T -.....|
|000003f0| 20 20 20 70 72 6f 63 65 | 73 73 69 6e 67 20 73 70 | proce|ssing sp|
|00000400| 65 63 69 61 6c 20 63 68 | 61 72 73 20 2a 2f 0d 09 |ecial ch|ars */..|
|00000410| 69 6e 74 09 75 5f 70 72 | 6f 6d 70 74 3b 09 2f 2a |int.u_pr|ompt;./*|
|00000420| 20 50 72 6f 6d 70 74 20 | 63 68 61 72 20 2a 2f 0d | Prompt |char */.|
|00000430| 09 69 6e 74 09 75 5f 73 | 65 6e 64 6d 3b 09 2f 2a |.int.u_s|endm;./*|
|00000440| 20 53 65 6e 64 20 6d 6f | 64 65 20 2a 2f 0d 09 09 | Send mo|de */...|
|00000450| 09 09 2f 2a 20 45 56 45 | 52 59 43 20 2d 20 73 65 |../* EVE|RYC - se|
|00000460| 6e 64 20 74 6f 20 6e 65 | 74 20 6f 6e 20 65 76 65 |nd to ne|t on eve|
|00000470| 72 79 20 63 68 61 72 20 | 2a 2f 0d 09 09 09 09 2f |ry char |*/...../|
|00000480| 2a 20 4e 45 57 4c 49 4e | 45 20 2d 20 73 65 6e 64 |* NEWLIN|E - send|
|00000490| 20 74 6f 20 6e 65 74 20 | 6f 6e 20 6e 65 77 6c 69 | to net |on newli|
|000004a0| 6e 65 20 2a 2f 0d 09 69 | 6e 74 09 75 5f 65 63 68 |ne */..i|nt.u_ech|
|000004b0| 6f 6d 3b 09 2f 2a 20 45 | 63 68 6f 20 6d 6f 64 65 |om;./* E|cho mode|
|000004c0| 20 2a 2f 0d 09 09 09 09 | 2f 2a 20 4c 4f 43 41 4c | */.....|/* LOCAL|
|000004d0| 20 2d 20 6c 6f 63 61 6c | 20 65 63 68 6f 20 2a 2f | - local| echo */|
|000004e0| 0d 09 09 09 09 2f 2a 20 | 52 45 4d 4f 54 45 20 2d |...../* |REMOTE -|
|000004f0| 20 72 65 6d 6f 74 65 20 | 65 63 68 6f 20 2a 2f 0d | remote |echo */.|
|00000500| 09 69 6e 74 09 75 5f 65 | 63 68 6f 6e 67 6f 3b 09 |.int.u_e|chongo;.|
|00000510| 2f 2a 20 45 63 68 6f 20 | 6e 65 67 6f 74 69 61 74 |/* Echo |negotiat|
|00000520| 69 6f 6e 20 72 65 71 75 | 65 73 74 20 6f 75 74 73 |ion requ|est outs|
|00000530| 74 61 6e 64 69 6e 67 20 | 2a 2f 0d 09 09 09 09 2f |tanding |*/...../|
|00000540| 2a 20 4e 4f 52 4d 41 4c | 4d 4f 44 45 20 2a 2f 0d |* NORMAL|MODE */.|
|00000550| 09 09 09 09 2f 2a 20 4c | 45 43 48 4f 52 45 51 20 |..../* L|ECHOREQ |
|00000560| 2d 20 49 41 43 20 44 4f | 4e 54 20 45 43 48 4f 20 |- IAC DO|NT ECHO |
|00000570| 77 61 73 20 73 65 6e 74 | 20 2a 2f 0d 09 09 09 09 |was sent| */.....|
|00000580| 2f 2a 20 52 45 43 48 4f | 52 45 51 20 2d 20 49 41 |/* RECHO|REQ - IA|
|00000590| 43 20 44 4f 20 45 43 48 | 4f 20 77 61 73 20 73 65 |C DO ECH|O was se|
|000005a0| 6e 74 20 2a 2f 0d 09 69 | 6e 74 09 75 5f 6d 6f 64 |nt */..i|nt.u_mod|
|000005b0| 65 3b 09 09 2f 2a 20 73 | 74 61 74 75 73 20 6c 69 |e;../* s|tatus li|
|000005c0| 6e 65 20 6f 6e 20 6f 72 | 20 6f 66 66 20 66 6c 61 |ne on or| off fla|
|000005d0| 67 20 2a 2f 0d 09 69 6e | 74 09 75 5f 61 73 6b 3b |g */..in|t.u_ask;|
|000005e0| 09 09 2f 2a 20 61 73 6b | 20 61 62 6f 75 74 20 74 |../* ask| about t|
|000005f0| 66 74 70 20 74 72 61 6e | 73 66 65 72 73 20 2a 2f |ftp tran|sfers */|
|00000600| 0d 7d 3b 0d 0d 23 64 65 | 66 69 6e 65 20 4e 4f 52 |.};..#de|fine NOR|
|00000610| 4d 41 4c 4d 4f 44 45 09 | 09 30 0d 23 64 65 66 69 |MALMODE.|.0.#defi|
|00000620| 6e 65 20 53 50 45 43 49 | 41 4c 09 09 31 0d 2f 2a |ne SPECI|AL..1./*|
|00000630| 0d 23 64 65 66 69 6e 65 | 20 54 45 53 54 09 09 32 |.#define| TEST..2|
|00000640| 0d 2a 2f 0d 23 64 65 66 | 69 6e 65 09 43 4f 4e 46 |.*/.#def|ine.CONF|
|00000650| 49 52 4d 09 09 33 0d 23 | 64 65 66 69 6e 65 20 48 |IRM..3.#|define H|
|00000660| 4f 4c 44 09 09 34 0d 0d | 23 64 65 66 69 6e 65 09 |OLD..4..|#define.|
|00000670| 54 46 55 4e 4b 4e 4f 57 | 4e 09 31 0d 23 64 65 66 |TFUNKNOW|N.1.#def|
|00000680| 69 6e 65 20 54 46 57 41 | 49 54 49 4e 47 09 32 0d |ine TFWA|ITING.2.|
|00000690| 23 64 65 66 69 6e 65 09 | 54 46 59 45 53 09 09 33 |#define.|TFYES..3|
|000006a0| 0d 23 64 65 66 69 6e 65 | 09 54 46 4e 4f 09 09 34 |.#define|.TFNO..4|
|000006b0| 0d 0d 23 64 65 66 69 6e | 65 09 42 4c 4f 43 4b 09 |..#defin|e.BLOCK.|
|000006c0| 09 31 0d 23 64 65 66 69 | 6e 65 20 4e 4f 42 4c 4f |.1.#defi|ne NOBLO|
|000006d0| 43 4b 09 09 32 0d 23 64 | 65 66 69 6e 65 20 55 52 |CK..2.#d|efine UR|
|000006e0| 47 45 4e 54 4d 09 09 31 | 0d 23 64 65 66 69 6e 65 |GENTM..1|.#define|
|000006f0| 20 45 56 45 52 59 43 09 | 09 31 0d 23 64 65 66 69 | EVERYC.|.1.#defi|
|00000700| 6e 65 20 4e 45 57 4c 49 | 4e 45 09 09 32 0d 23 64 |ne NEWLI|NE..2.#d|
|00000710| 65 66 69 6e 65 20 4c 4f | 43 41 4c 09 09 31 0d 23 |efine LO|CAL..1.#|
|00000720| 64 65 66 69 6e 65 20 52 | 45 4d 4f 54 45 09 09 32 |define R|EMOTE..2|
|00000730| 0d 23 64 65 66 69 6e 65 | 20 4c 45 43 48 4f 52 45 |.#define| LECHORE|
|00000740| 51 09 31 0d 23 64 65 66 | 69 6e 65 20 52 45 43 48 |Q.1.#def|ine RECH|
|00000750| 4f 52 45 51 09 32 0d 0d | 23 64 65 66 69 6e 65 20 |OREQ.2..|#define |
|00000760| 54 4e 45 4f 52 09 30 78 | 65 66 0d 23 64 65 66 69 |TNEOR.0x|ef.#defi|
|00000770| 6e 65 20 54 4e 53 42 45 | 4e 44 09 30 78 66 30 0d |ne TNSBE|ND.0xf0.|
|00000780| 23 64 65 66 69 6e 65 20 | 54 4e 44 4d 09 32 34 32 |#define |TNDM.242|
|00000790| 0d 23 64 65 66 69 6e 65 | 20 54 4e 42 52 45 41 4b |.#define| TNBREAK|
|000007a0| 09 32 34 33 0d 23 64 65 | 66 69 6e 65 20 54 4e 49 |.243.#de|fine TNI|
|000007b0| 4e 54 09 32 34 34 0d 23 | 64 65 66 69 6e 65 20 54 |NT.244.#|define T|
|000007c0| 4e 41 4f 09 32 34 35 0d | 23 64 65 66 69 6e 65 20 |NAO.245.|#define |
|000007d0| 54 4e 41 59 54 09 32 34 | 36 0d 23 64 65 66 69 6e |TNAYT.24|6.#defin|
|000007e0| 65 20 54 4e 45 52 43 48 | 09 32 34 37 0d 23 64 65 |e TNERCH|.247.#de|
|000007f0| 66 69 6e 65 20 54 4e 45 | 52 4c 4e 09 32 34 38 0d |fine TNE|RLN.248.|
|00000800| 23 64 65 66 69 6e 65 20 | 54 4e 47 41 09 32 34 39 |#define |TNGA.249|
|00000810| 0d 23 64 65 66 69 6e 65 | 20 54 4e 53 42 09 32 35 |.#define| TNSB.25|
|00000820| 30 0d 23 64 65 66 69 6e | 65 20 54 4e 57 49 4c 4c |0.#defin|e TNWILL|
|00000830| 09 32 35 31 0d 23 64 65 | 66 69 6e 65 20 54 4e 57 |.251.#de|fine TNW|
|00000840| 4f 4e 54 09 32 35 32 0d | 23 64 65 66 69 6e 65 20 |ONT.252.|#define |
|00000850| 54 4e 44 4f 09 32 35 33 | 0d 23 64 65 66 69 6e 65 |TNDO.253|.#define|
|00000860| 20 54 4e 44 4f 4e 54 09 | 32 35 34 0d 23 64 65 66 | TNDONT.|254.#def|
|00000870| 69 6e 65 20 54 4e 49 41 | 43 09 32 35 35 0d 0d 2f |ine TNIA|C.255../|
|00000880| 2a 20 6f 70 74 69 6f 6e | 73 20 2a 2f 0d 0d 23 64 |* option|s */..#d|
|00000890| 65 66 69 6e 65 20 54 4e | 49 53 09 30 0d 23 64 65 |efine TN|IS.0.#de|
|000008a0| 66 69 6e 65 20 54 4e 53 | 45 4e 44 09 31 0d 0d 23 |fine TNS|END.1..#|
|000008b0| 64 65 66 69 6e 65 20 4f | 50 54 42 49 4e 41 52 59 |define O|PTBINARY|
|000008c0| 09 09 20 30 0d 23 64 65 | 66 69 6e 65 20 4f 50 54 |.. 0.#de|fine OPT|
|000008d0| 45 43 48 4f 09 09 09 20 | 31 0d 23 64 65 66 69 6e |ECHO... |1.#defin|
|000008e0| 65 09 4f 50 54 53 50 47 | 41 09 09 09 20 33 0d 23 |e.OPTSPG|A... 3.#|
|000008f0| 64 65 66 69 6e 65 09 4f | 50 54 54 4d 09 09 09 20 |define.O|PTTM... |
|00000900| 36 0d 23 64 65 66 69 6e | 65 20 4f 50 54 54 45 52 |6.#defin|e OPTTER|
|00000910| 4d 54 59 50 45 09 09 32 | 34 0d 23 64 65 66 69 6e |MTYPE..2|4.#defin|
|00000920| 65 20 4f 50 54 45 4f 52 | 09 09 09 32 35 0d 23 64 |e OPTEOR|...25.#d|
|00000930| 65 66 69 6e 65 20 4f 50 | 54 33 32 37 30 52 45 47 |efine OP|T3270REG|
|00000940| 49 4d 45 09 32 39 0d 0d | 23 64 65 66 69 6e 65 09 |IME.29..|#define.|
|00000950| 44 46 45 53 43 09 27 5c | 30 33 36 27 09 09 2f 2a |DFESC.'\|036'../*|
|00000960| 20 64 65 66 61 75 6c 74 | 20 65 73 63 61 70 65 20 | default| escape |
|00000970| 63 68 61 72 20 2a 2f 0d | 0d 23 64 65 66 69 6e 65 |char */.|.#define|
|00000980| 20 54 45 4c 4e 45 54 53 | 4f 43 4b 09 32 33 09 2f | TELNETS|OCK.23./|
|00000990| 2a 20 54 65 6c 6e 65 74 | 20 77 65 6c 6c 20 6b 6e |* Telnet| well kn|
|000009a0| 6f 77 6e 20 73 6f 63 6b | 65 74 20 6e 6f 2e 20 2a |own sock|et no. *|
|000009b0| 2f 0d 0d 65 78 74 65 72 | 6e 20 73 74 72 75 63 74 |/..exter|n struct|
|000009c0| 20 75 63 62 20 75 63 62 | 3b 0d 0d 2f 2a 20 6e 65 | ucb ucb|;../* ne|
|000009d0| 65 64 20 61 72 72 61 79 | 20 6f 66 20 73 74 61 74 |ed array| of stat|
|000009e0| 65 73 20 66 6f 72 20 75 | 63 62 2e 73 74 61 74 65 |es for u|cb.state|
|000009f0| 3f 20 2a 2f 0d 23 64 65 | 66 69 6e 65 20 43 4c 4f |? */.#de|fine CLO|
|00000a00| 53 49 4e 47 09 09 31 09 | 09 09 0d 0d 0d 2f 2a 20 |SING..1.|...../* |
|00000a10| 6e 65 77 20 66 6f 72 20 | 4d 61 63 54 43 50 20 2a |new for |MacTCP *|
|00000a20| 2f 0d 0d 0d 23 69 66 64 | 65 66 20 4d 41 43 54 43 |/...#ifd|ef MACTC|
|00000a30| 50 0d 2f 2a 20 73 75 70 | 70 6c 79 20 64 65 66 69 |P./* sup|ply defi|
|00000a40| 6e 65 73 20 66 6f 72 20 | 4d 61 63 54 43 50 20 76 |nes for |MacTCP v|
|00000a50| 65 72 73 69 6f 6e 20 77 | 68 69 63 68 20 77 6f 75 |ersion w|hich wou|
|00000a60| 6c 64 20 6f 74 68 65 72 | 77 69 73 65 20 62 65 20 |ld other|wise be |
|00000a70| 69 6e 20 6e 65 74 2e 68 | 20 2a 2f 0d 0d 23 69 66 |in net.h| */..#if|
|00000a80| 64 65 66 20 4e 4f 54 4d | 45 52 47 45 44 0d 74 79 |def NOTM|ERGED.ty|
|00000a90| 70 65 64 65 66 20 6c 6f | 6e 67 20 69 6e 5f 6e 61 |pedef lo|ng in_na|
|00000aa0| 6d 65 3b 0d 0d 73 74 72 | 75 63 74 20 6e 65 74 20 |me;..str|uct net |
|00000ab0| 7b 0d 09 6c 6f 6e 67 09 | 69 70 5f 61 64 64 72 3b |{..long.|ip_addr;|
|00000ac0| 0d 09 6c 6f 6e 67 09 6e | 5f 64 65 66 67 77 3b 0d |..long.n|_defgw;.|
|00000ad0| 7d 3b 0d 0d 65 78 74 65 | 72 6e 20 73 74 72 75 63 |};..exte|rn struc|
|00000ae0| 74 20 6e 65 74 20 74 68 | 69 73 6e 65 74 3b 0d 65 |t net th|isnet;.e|
|00000af0| 78 74 65 72 6e 20 73 74 | 72 75 63 74 20 6e 65 74 |xtern st|ruct net|
|00000b00| 20 2a 20 72 6e 65 74 3b | 0d 23 65 6e 64 69 66 0d | * rnet;|.#endif.|
|00000b10| 0d 65 78 74 65 72 6e 20 | 73 68 6f 72 74 20 6e 6e |.extern |short nn|
|00000b20| 72 75 70 3b 0d 0d 2f 2a | 20 73 75 70 70 6c 79 20 |rup;../*| supply |
|00000b30| 64 65 66 69 6e 65 73 20 | 77 68 69 63 68 20 77 6f |defines |which wo|
|00000b40| 75 6c 64 20 6f 74 68 65 | 72 77 69 73 65 20 62 65 |uld othe|rwise be|
|00000b50| 20 69 6e 20 74 63 70 2e | 68 20 2a 2f 0d 65 78 74 | in tcp.|h */.ext|
|00000b60| 65 72 6e 20 75 6e 73 69 | 67 6e 65 64 20 6c 6f 6e |ern unsi|gned lon|
|00000b70| 67 20 69 6e 5f 63 6e 74 | 3b 0d 65 78 74 65 72 6e |g in_cnt|;.extern|
|00000b80| 20 75 6e 73 69 67 6e 65 | 64 20 6c 6f 6e 67 20 6f | unsigne|d long o|
|00000b90| 75 74 5f 63 6e 74 3b 09 | 09 09 2f 2a 20 23 20 6f |ut_cnt;.|../* # o|
|00000ba0| 66 20 70 61 63 6b 65 74 | 73 20 73 65 65 6e 20 2a |f packet|s seen *|
|00000bb0| 2f 0d 0d 2f 2a 20 61 20 | 73 74 72 75 63 74 75 72 |/../* a |structur|
|00000bc0| 65 20 74 6f 20 68 6f 6c | 64 20 61 20 49 50 61 64 |e to hol|d a IPad|
|00000bd0| 64 72 2f 54 43 50 20 73 | 6f 63 6b 65 74 20 2a 2f |dr/TCP s|ocket */|
|00000be0| 0d 0d 0d 23 69 66 6e 64 | 65 66 20 4d 55 4c 54 49 |...#ifnd|ef MULTI|
|00000bf0| 0d 73 74 72 75 63 74 20 | 68 6f 73 74 73 6f 63 6b |.struct |hostsock|
|00000c00| 20 7b 0d 09 75 6e 69 6f | 6e 20 7b 0d 09 09 63 68 | {..unio|n {...ch|
|00000c10| 61 72 20 62 79 74 65 73 | 5b 34 5d 3b 0d 09 09 75 |ar bytes|[4];...u|
|00000c20| 6e 73 69 67 6e 65 64 20 | 6c 6f 6e 67 20 61 64 64 |nsigned |long add|
|00000c30| 72 3b 0d 09 7d 20 75 3b | 0d 09 75 6e 73 69 67 6e |r;..} u;|..unsign|
|00000c40| 65 64 20 70 6f 72 74 3b | 09 09 09 09 2f 2a 20 54 |ed port;|..../* T|
|00000c50| 43 50 20 70 6f 72 74 20 | 74 6f 20 63 6f 6e 6e 65 |CP port |to conne|
|00000c60| 63 74 20 74 6f 20 2a 2f | 0d 09 73 68 6f 72 74 20 |ct to */|..short |
|00000c70| 68 6f 73 74 63 6f 6e 6e | 61 63 74 3b 09 09 09 2f |hostconn|act;.../|
|00000c80| 2a 20 49 44 20 6f 66 20 | 61 63 74 69 6f 6e 73 20 |* ID of |actions |
|00000c90| 74 6f 20 65 78 65 63 75 | 74 65 20 61 66 74 65 72 |to execu|te after|
|00000ca0| 20 68 6f 73 74 20 63 6f | 6e 6e 65 63 74 69 6f 6e | host co|nnection|
|00000cb0| 20 63 6f 6d 70 6c 65 74 | 65 20 2a 2f 0d 7d 3b 0d | complet|e */.};.|
|00000cc0| 23 65 6e 64 69 66 0d 0d | 23 65 6e 64 69 66 0d 65 |#endif..|#endif.e|
|00000cd0| 78 74 65 72 6e 20 69 6e | 74 20 76 74 31 30 30 28 |xtern in|t vt100(|
|00000ce0| 29 3b 0d 65 78 74 65 72 | 6e 20 69 6e 74 20 76 74 |);.exter|n int vt|
|00000cf0| 31 30 30 73 74 72 28 29 | 3b 0d 65 78 74 65 72 6e |100str()|;.extern|
|00000d00| 20 69 6e 74 20 68 31 39 | 28 29 3b 0d 65 78 74 65 | int h19|();.exte|
|00000d10| 72 6e 20 69 6e 74 20 68 | 31 39 73 74 72 28 29 3b |rn int h|19str();|
|00000d20| 0d 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000d90| 6e 63 6c 75 64 65 20 3c | 77 69 6e 64 6f 77 2e 68 |nclude <|window.h|
|00000da0| 3e 0d 0d 65 78 74 65 72 | 6e 20 52 65 63 74 20 09 |>..exter|n Rect .|
|00000db0| 08 74 65 6c 6e 65 74 2e | 68 00 02 00 00 00 50 61 |.telnet.|h.....Pa|
|00000dc0| 72 74 53 49 54 78 00 00 | 00 00 00 00 00 00 00 01 |rtSITx..|........|
|00000dd0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 a9 8d 3a 86 00 00 | 00 00 00 00 01 7e 50 74 |....:...|.....~Pt|
|00000e00| 72 09 69 63 6f 6e 77 69 | 6e 64 6f 77 3b 09 09 2f |r.iconwi|ndow;../|
|00000e10| 2a 20 67 6f 2d 61 77 61 | 79 20 77 69 6e 64 6f 77 |* go-awa|y window|
|00000e20| 2c 20 73 68 6f 77 73 20 | 74 6e 33 32 37 30 20 69 |, shows |tn3270 i|
|00000e30| 63 6f 6e 20 2a 2f 0d 65 | 78 74 65 72 6e 20 57 69 |con */.e|xtern Wi|
|00000e40| 6e 64 6f 77 50 74 72 09 | 77 68 69 63 68 57 69 6e |ndowPtr.|whichWin|
|00000e50| 64 6f 77 3b 09 2f 2a 20 | 72 65 73 75 6c 74 20 66 |dow;./* |result f|
|00000e60| 72 6f 6d 20 46 69 6e 64 | 57 69 6e 64 6f 77 28 29 |rom Find|Window()|
|00000e70| 20 2a 2f 0d 0d 0d 65 78 | 74 65 72 6e 20 57 69 6e | */...ex|tern Win|
|00000e80| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 1c 00 16 |...H..Mo|naco....|
|00000e90| 00 00 00 14 00 01 00 a0 | 00 0a 00 92 00 09 00 9d |........|........|
|00000ea0| 00 1c 00 00 00 00 00 06 | 00 04 00 27 00 00 01 e1 |........|...'....|
|00000eb0| 02 00 00 27 00 00 01 e1 | 02 00 a4 17 63 ea 00 00 |...'....|....c...|
|00000ec0| 07 62 00 00 07 68 00 00 | 06 8e 01 00 00 00 01 00 |.b...h..|........|
|00000ed0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 0e 34 78 |...L...L|...2..4x|
|00000ee0| 04 6a 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.j.....2|..MPSR..|
|00000ef0| 00 0a 03 ed ff ff 00 00 | 00 00 00 0f 6b 38 00 00 |........|....k8..|
+--------+-------------------------+-------------------------+--------+--------+